package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.UsDailyBean;

/**
* 描述：获取美股行情（未复权），包括全部股票全历史行情，以及重要的市场和估值指标
* @author: codesmith
**/
@Data
@TableName("us_daily")
public class UsDailyEntity implements UsDailyBean {
    
    /*
    * 股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`close`") protected Double close;

    @TableField("`open`") protected Double open;

    @TableField("`high`") protected Double high;

    @TableField("`low`") protected Double low;

    @TableField("`pre_close`") protected Double preClose;

    @TableField("`change`") protected Double change;

    @TableField("`pct_change`") protected Double pctChange;

    @TableField("`vol`") protected Double vol;

    @TableField("`amount`") protected Double amount;

    @TableField("`vwap`") protected Double vwap;

    @TableField("`turnover_ratio`") protected Double turnoverRatio;

    @TableField("`total_mv`") protected Double totalMv;

    @TableField("`pe`") protected Double pe;

    @TableField("`pb`") protected Double pb;
}